Dynomotion

Group: DynoMotion Message: 8965 From: daveymahomh600e Date: 1/25/2014
Subject: Konnect Initialzation Code
Hi Tom,

As I posted a few moments ago, I am trying to get my KFlop/SnapAnp/Konnect system going, and I guess I was expecting a toggle somewhere in the console to enable the Konnect board. After reading the Konnect page again it looks like there needs to be a line of code added to make the connection. Where is the best place to put the Konnect connect code?

Thanks,
David.
Group: DynoMotion Message: 8967 From: Tom Kerekes Date: 1/25/2014
Subject: Re: Konnect Initialzation Code
Hi David,

Yes it is more than a toggle.  How many boards are connected, to which connector, and where to map the inputs, and where to map the outputs for each board needs to be specified.

Normally the following two lines of code added to your Initialization program will be required.  You might do this as early as possible.  After it is enabled there will be one time slice (180us) delay before the IO is valid.

HTH Regards
TK

(for connection to JP6)
    InitAux();
    AddKonnect(0,&VirtualBits,VirtualBitsEx);


(for connection to JP4)

    InitAux();
    AddKonnect_Aux0(0,&VirtualBits,VirtualBitsEx);


Group: DynoMotion Message: 8968 From: David Stevenson Date: 1/25/2014
Subject: Re: Konnect Initialzation Code
Hi Tom,

There is just one board and it is connected to JP6 with the SnapAmp connected to JP4. I will add the code to my brushless startup file and give that a go.

Thanks very much!

David

***********
On 1/25/2014 3:39 PM, Tom Kerekes wrote:
 
Hi David,

Yes it is more than a toggle.  How many boards are connected, to which connector, and where to map the inputs, and where to map the outputs for each board needs to be specified.

Normally the following two lines of code added to your Initialization program will be required.  You might do this as early as possible.  After it is enabled there will be one time slice (180us) delay before the IO is valid.

HTH Regards
TK

(for connection to JP6)
    InitAux();
    AddKonnect(0,&VirtualBits,VirtualBitsEx);


(for connection to JP4)

    InitAux();
    AddKonnect_Aux0(0,&VirtualBits,VirtualBitsEx);